home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / unzip42.zip / AMIGA.ZIP / LMKFILE < prev    next >
Text File  |  1992-03-03  |  1KB  |  44 lines

  1. # Makefile for UnZip 4.2 using SAS/C 5.10a
  2. # [no crypt + no inflate]
  3. #
  4. # Not tested since UnZip 4.1.  May need to change directory names for stat.c
  5. # and utime.c.
  6.  
  7. #####################
  8. # MACRO DEFINITIONS #
  9. #####################
  10.  
  11. CC = lc
  12. CFLAGS = -O -DUNIX -v -m0t -cuaisfr -rr
  13. LD = blink
  14. LDFLAGS = TO unzip FROM LIB:c.o
  15. LDFLAGS2 = LIB LIB:lc.lib LIB:amiga.lib
  16. EXE =
  17. O = .o
  18. OBJS = unzip$O extract$O file_io$O mapname$O match$O misc$O\
  19.        unimplod$O unreduce$O unshrink$O utime$O stat$O
  20.  
  21. ###############################################
  22. # BASIC COMPILE INSTRUCTIONS AND DEPENDENCIES #
  23. ###############################################
  24.  
  25. .c$O :
  26.         $(CC) -o$@ $(CFLAGS) $*.c
  27.  
  28. unzip$(EXE):    $(OBJS)
  29.         $(LD) $(LDFLAGS) $(OBJS) $(LDFLAGS2)
  30.  
  31. unzip$O:        unzip.c unzip.h
  32. crypt$O:        crypt.c unzip.h zip.h    # may or may not be in distribution
  33. extract$O:      extract.c unzip.h
  34. file_io$O:      file_io.c unzip.h
  35. inflate$O:      inflate.c unzip.h    # may or may not be in distribution
  36. mapname$O:      mapname.c unzip.h
  37. match$O:        match.c unzip.h
  38. misc$O:         misc.c unzip.h
  39. unimplod$O:     unimplod.c unzip.h
  40. unreduce$O:     unreduce.c unzip.h
  41. unshrink$O:     unshrink.c unzip.h
  42. stat$O:         amiga/stat.c    # may need to change or remove directory name
  43. utime$O:        amiga/utime.c    # may need to change or remove directory name
  44.